package com.wsj.service;

import java.util.List;
import java.util.Map;

import org.springframework.dao.DataAccessException;

import com.wsj.util.exception.BusinessException;
import com.wsj.util.page.PageResultSet;
import com.wsj.web.vo.homeSite.DirectSeedName;

public interface IDirectSeedNameServ {

	public void add(DirectSeedName magazineName) throws BusinessException ;
	
	public void delete(DirectSeedName directSeedName) throws BusinessException ;
	
	public void update(DirectSeedName directSeedName) throws BusinessException ;
	
	public List<DirectSeedName> loadAll() throws BusinessException ;
	
	public List loadDirectSeedNameByInputtime(String year)throws DataAccessException ;
	
	public DirectSeedName loadById(Integer id) throws BusinessException ;
	
	public boolean checkName(String name) throws BusinessException ;
	
	public DirectSeedName loadByName(String name) throws BusinessException ;
	
	public PageResultSet loadPageList(String keyWord,String name,Short iscommend,Short del,String beginDate,String endDate,Integer page,Integer pageSize) throws BusinessException;
	
	
	public Map<String,String> loadDirectSeedNameMapByInputtime(String year)throws BusinessException;

	public DirectSeedName getZuiXinTopDirectSeedName(int top)throws BusinessException;

	public List getTopDirectSeedName(int top, Integer sameId)throws BusinessException;

	public DirectSeedName getzuixinDSeedName()throws BusinessException;

	public List getTopByZxinDirectSeedName(Integer zxinDSeedNameid, int top);
	
	
	
	
	
	
}



















